package com.silence.springboot.vo.output;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 登录系统出参
 */
@Data
@Accessors(chain = true)
@Schema(name = "LoginSystemOutput", description = "登录系统出参")
public class LoginSystemOutput implements Serializable {

    /**
     * 序列号
     */
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * JWT 存储的请求头
     */
    @Schema(description = "JWT 存储的请求头")
    private String authHeader;

    /**
     * JWT 超时时间
     */
    @Schema(description = "JWT 超时时间")
    private long expiration;

    /**
     * JWT 负载中拿到开头
     */
    @Schema(description = "JWT 负载中拿到开头")
    private String tokenHeader;

    /**
     * JWT token
     */
    @Schema(description = "JWT token")
    private String token;

}
